home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / p1123mz4.zip / TITILLAT.H < prev    next >
C/C++ Source or Header  |  1994-02-14  |  829b  |  31 lines

  1. #ifndef TITILLAT_H
  2. #define TITILLAT_H
  3.  
  4. //      Let the user know a program is running.
  5.  
  6. class titillator
  7.   {
  8.     private:
  9.       unsigned char cursor_column;
  10.       unsigned char cursor_row;
  11.       unsigned char cursor_start;
  12.       unsigned char cursor_stop;
  13.       unsigned char original_attribute;
  14.       unsigned char original_character;
  15.       unsigned char titillation [4];
  16.       int           titillation_index;
  17.     public:
  18.            titillator(void);
  19. //      Get the original position and state of the cursor.  Make the cursor
  20. // disappear.
  21.  
  22.            ~titillator(void);
  23. //      Restore the cursor to its original state and position.
  24.  
  25.       void titillate(void);
  26. //      Set the cursor back to its original position and show the next
  27. // character in the sequence "|", "/", "-", "\".
  28.   };
  29.  
  30. #endif
  31.